import request from '@/utils/request'
import fileRequest from '@/utils/fileRequest';
/**
 * 获取全部列表
 * @param params
 * @returns {*}
 */
export function getList(params) {
  return request({
    url: '/getReturnHomeList',
    method: 'GET',
    params
  })
}

/**
 * 导出
 * @param data
 * @returns {*}
 */
export function exportEnterpriseApi(data) {
  return fileRequest({
    url: '/exportReturnHome',
    method: 'POST',
    data
  })
}

/**
 * 获取全部列表
 * @param params
 * @returns {*}
 */
export function getTrainInvestigateListApi(params) {
  return request({
    url: '/getTrainInvestigateList',
    method: 'GET',
    params
  })
}
/**
 * 导出
 * @param data
 * @returns {*}
 */
export function exportTrainInvestigateApi(data) {
  return fileRequest({
    url: '/exportTrainInvestigate',
    method: 'POST',
    data
  })
}




